// AFTER-WARNING: Redundant spread (*) operator
// AFTER-WARNING: Parameter 'n' is never used
// AFTER-WARNING: Parameter 's' is never used
fun foo(n: Int, vararg s: String){}

fun bar(array: Array<String>) {
    <caret>foo(1, *array)
}